﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RobotWebSocketApp
{
    class Program
    {
        static void Main()
        {
            WebSocketServerManager webSocketServerManager = new WebSocketServerManager();
            webSocketServerManager.ServerInit();
            webSocketServerManager.ServerRun();

            var input = Console.ReadLine();
            while (input != "exit")
            {
                //foreach (var socket in allSockets.ToList())
                //{
                    //socket.Send(input);
                //}
                input = Console.ReadLine();
            }
        }
    }
}
